<template>
  <div id="app">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive" />
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive" />
    <tab-bar />
  </div>
</template>

<script>
import TabBar from '@/components/TabBar/tabBar'
export default {
  name: 'App',
  components: { TabBar }
}
</script>

<style>
img {
  width: 100%;
}
html, body {
  overflow: hidden;
  height:calc(100vh - 49px);
}

</style>
